package sjq.com.time;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;
import android.widget.Toast;

/**
 * Created by chengengsen on 2016/7/29.
 */
public class OneReceive extends BroadcastReceiver{

    @Override
    public void onReceive(Context arg0, Intent data) {
        Log.d("123", "the time is up,start the alarm...");
        Toast.makeText(arg0, "闹钟时间到了！", Toast.LENGTH_SHORT).show();
    }

}
